/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */
package com.pig4cloud.pig.mall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pig4cloud.pig.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 工程师管理
 *
 * @author wangyl
 * @date 2023-06-05 09:10:49
 */
@Data
@TableName("wechat_engineer")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "工程师管理")
public class WechatEngineer extends BaseEntity {

    /**
     * ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description ="ID")
    private Integer id;

    /**
     * 微信昵称
     */
    @Schema(description ="微信昵称")
    private String wechatName;

    /**
     * 微信openid
     */
    @Schema(description ="微信openid")
    private Integer openId;

    /**
     * 手机号
     */
    @Schema(description ="手机号")
    private String phone;

    /**
     * 紧急手机号
     */
    @Schema(description ="紧急手机号")
    private String urgentPhone;

    /**
     * 头像
     */
    @Schema(description ="头像")
    private String avatar;

    /**
     * 实名
     */
    @Schema(description ="实名")
    private String realName;

    /**
     * 称呼，例如：张师傅
     */
    @Schema(description ="称呼，例如：张师傅")
    private String nickName;

    /**
     * 工程师类型，0：认证工程师，1：特邀工程师
     */
    @Schema(description ="工程师类型，0：认证工程师，1：特邀工程师")
    private Integer type;

    /**
     * 注册时间
     */
    @Schema(description ="注册时间")
    private LocalDateTime registerTime;

    /**
     * 活跃天数
     */
    @Schema(description ="活跃天数")
    private Integer activeDay;

    /**
     * 行为分数
     */
    @Schema(description ="行为分数")
    private Integer score;

    /**
     * 年卡等级
     */
    @Schema(description ="年卡等级")
    private Integer cardGrade;

    /**
     * 邀请人工程师ID
     */
    @Schema(description ="邀请人工程师ID")
    private Integer inviteUserId;

    /**
     * 邀请人手机号
     */
    @Schema(description ="邀请人手机号")
    private String invitePhone;

    /**
     * 邀请时间
     */
    @Schema(description ="邀请时间")
    private LocalDateTime inviteTime;

    /**
     * 自我介绍
     */
    @Schema(description ="自我介绍")
    private String introduce;


}
